package org.example.memora.entity;

import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.time.Instant;
import java.util.Date;

/**
 * 用户关注实体类
 */
@Data
@Alias("UserFollow")
public class UserFollow {
    private Long id;
    private Long followerId;
    // 关注者ID(粉丝)
    private Long followedId;
    // 被关注者ID(博主)
    private Instant createdAt;
    // 关注时间
}
